package cn.acmenms.utils;

/**
 * @ClassName: Constants
 * @Description: 常量
 * @author: 神奇的鸭鸭
 * @Date: 2017/12/28 15:31
 */
public class Constants {
    /**
     * 存放Token的header字段
     */
    public static final String DEFAULT_TOKEN_NAME = "Authorization";
    /**
     * 长度
     */
    public static final int LENGTH_20 = 20, LENGTH_16 = 16, LENGTH_6 = 6;
    /**
     * 是否加密 密码
     */
    public static final Boolean ENCODE_PWD = true, NOT_ENCODE_PWD = false;
    /**
     * 最大登录错误次数
     */
    public static final Integer MAX_LOGIN_ERROR_COUNT = 3;
    /**
     * AT所有
     */
    public static final String AT_ALL = "all";
    /**
     * 用户图片路径 [头像icon`背景图片]
     */
    public static final String USER_IMG_PATH_USER_ICON = "defusericon/usericon", USER_IMG_PATH_USER_BG = "defbg/bg";
    /**
     * 连续签到次数
     */
    public static final Integer CONTINUES_SIGIN_COUNT_SEVEN = 7;
}